//
//  ActivityRequestModel.h
//  ExcellentHome
//
//  Created by 揭婧雯 on 16/8/25.
//  Copyright © 2016年 陈区. All rights reserved.
//

#import "ActivityModel.h"
#import <Foundation/Foundation.h>

@interface ActivityRequestModel : NSObject

// ＝＝＝＝＝＝＝＝＝ 广场 ＝＝＝＝＝＝＝＝＝
/**
 *  请求活动ID列表 可替换[[BusinessManager sharedManager].activityEntityManager requestIsEqualIdNumber];
 *
 *  @param finished 网络请求完成后的操作
 */
- (void)requestIsEqualIdNumber:(SEGNetworkRequestCallBack)finished;

/**
 *  获取活动列表
 *
 *  @param ids 参数
 */
- (void)requestActivityModelListWithIds:(NSString*)ids finished:(SEGNetworkRequestCallBack)finished;

// ＝＝＝＝＝＝＝＝＝ 我的 ＝＝＝＝＝＝＝＝＝

/**
 *  请求我参加的他人创建的活动列表 可替换[[BusinessManager sharedManager].activityEntityManager requestOtherCreateStartingActivityList];
 *
 *  @param finished 网络请求完成后的操作
 */
- (void)requestOtherCreateStartingListActivity:(SEGNetworkRequestCallBack)finished;

/**
 *  请求我创建的活动列表 可替换[[BusinessManager sharedManager].activityEntityManager requestMyCreateActivityListForStarting];
 *
 *  @param finished 网络请求完成后的操作
 */
- (void)requestMyCreateStartingListActivity:(SEGNetworkRequestCallBack)finished;

// ＝＝＝＝＝＝＝＝＝ 发布活动 ＝＝＝＝＝＝＝＝＝
/**
 *  发起活动 可替换[[BusinessManager sharedManager].activityEntityManager requestCreateActivityWithTempActivityEntity:
 */
- (void)requestCreateActivityWithActivityModel:(ActivityModel*)model imageData:(NSData *)image finished:(SEGNetworkReponse)finished;

/**
 *  编辑更新活动 可替换[[BusinessManager sharedManager].activityEntityManager requestUpdateActivityWithTempActivityEntity:
 */
- (void)requestUpdateActivityWithActivityModel:(ActivityModel*)model imageData:(NSData*)imageData finished:(SEGNetworkReponse)finished;

// ＝＝＝＝＝＝＝＝＝ 活动详情 ＝＝＝＝＝＝＝＝＝
/**
 *  获取活动详情 可替换[[BusinessManager sharedManager].activityEntityManager requestActivityDetailWithActivityID
 *
 *  @param activityId activityId
 */
- (void)requestActivityDetailWithId:(NSString*)activityId finished:(SEGNetworkRequestCallBack)finished;

/**
 *  获取参加活动的成员列表
 *
 *  @param activityId activityId
 */
- (void)requestActivityMemberListWithId:(NSString*)activityId finished:(SEGNetworkRequestCallBack)finished;

/**
 *  参加活动时验证活动人数 可替换[[BusinessManager sharedManager].activityEntityManager requestCheckActivityPersonNum:
 *
 *  @param activityId activityId
 */
- (void)requestCheckActivityPersonNumWithId:(NSString*)activityId finished:(SEGNetworkRequestCallBack)finished;

/**
 *  参加活动时验证活动人数 可替换[[BusinessManager sharedManager].activityEntityManager requestJionActivityWithID:
 *
 *  @param activityId activityId
 */
- (void)requestJoinActivityWithId:(NSString*)activityId andPersonNum:(NSString*)personNum finished:(SEGNetworkRequestCallBack)finished;

/**
 *  参加活动时验证活动人数 可替换[[BusinessManager sharedManager].activityEntityManager requestStartActivityWithActivityID:
 *
 *  @param activityId activityId
 */
- (void)requestActivityStartOrStopWithId:(NSString*)activityId andGroupChatID:(NSString*)groupChatID finished:(SEGNetworkRequestCallBack)finished;

/**
 *  删除活动
 *
 *  @param activityId activityId
 */
- (void)requestDeleteActivityWithId:(NSString*)activityId finished:(SEGNetworkReponse)finished;

@end
